//导入axios
import axios from '@/utils'

//按需导出获取商品分类信息方法
export const getGoodsClassInfo = params => axios({url:'categories',params})
//按需导出添加分类方法
export const addGoodsClass = data => axios({url:'categories',method:'post',data})